using net_work.Attribute;
using net_work.Data.Enum.Cou;

namespace net_work.Data.Entity.Cou;

/// <summary>
/// 课程实体类
/// </summary>
public class Course : BaseEntity
{
    /// <summary>
    /// 课程编号
    /// </summary>
    [ExcelColumn(Order = 1, Header = "课程编号")]public required string CouCode { get; set; }

    /// <summary>
    /// 课程名称
    /// </summary>
    [ExcelColumn(Order = 2, Header = "课程名称")]public required string CouName { get; set; }

    /// <summary>
    /// 课程描述
    /// </summary>
    [ExcelColumn(Order = 3, Header = "课程描述")]public required string CouDesc { get; set; }

    /// <summary>
    /// 课程性质
    /// </summary>
    [ExcelColumn(Order = 4, Header = "课程性质")]public required CourseProp CouProp { get; set; }

    /// <summary>
    /// 学院ID（外键）
    /// </summary>
    public required long CollegeId { get; set; }
}